package cn.wgx.modules.sys.entity.mapper;

import cn.wgx.modules.sys.entity.SysRoleUser;
import cn.wgx.modules.sys.entity.SysRoleUserExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysRoleUserMapper {
    /**
     *
     * @mbg.generated Wed Feb 19 04:40:32 CST 2020
     */
    long countByExample(SysRoleUserExample example);

    /**
     *
     * @mbg.generated Wed Feb 19 04:40:32 CST 2020
     */
    int deleteByExample(SysRoleUserExample example);

    /**
     *
     * @mbg.generated Wed Feb 19 04:40:32 CST 2020
     */
    int deleteByPrimaryKey(Integer role_user_id);

    /**
     *
     * @mbg.generated Wed Feb 19 04:40:32 CST 2020
     */
    int insert(SysRoleUser record);

    /**
     *
     * @mbg.generated Wed Feb 19 04:40:32 CST 2020
     */
    int insertSelective(SysRoleUser record);

    /**
     *
     * @mbg.generated Wed Feb 19 04:40:32 CST 2020
     */
    List<SysRoleUser> selectByExample(SysRoleUserExample example);

    /**
     *
     * @mbg.generated Wed Feb 19 04:40:32 CST 2020
     */
    SysRoleUser selectByPrimaryKey(Integer role_user_id);

    /**
     *
     * @mbg.generated Wed Feb 19 04:40:32 CST 2020
     */
    int updateByExampleSelective(@Param("record") SysRoleUser record, @Param("example") SysRoleUserExample example);

    /**
     *
     * @mbg.generated Wed Feb 19 04:40:32 CST 2020
     */
    int updateByExample(@Param("record") SysRoleUser record, @Param("example") SysRoleUserExample example);

    /**
     *
     * @mbg.generated Wed Feb 19 04:40:32 CST 2020
     */
    int updateByPrimaryKeySelective(SysRoleUser record);

    /**
     *
     * @mbg.generated Wed Feb 19 04:40:32 CST 2020
     */
    int updateByPrimaryKey(SysRoleUser record);
}